package com.jade.store.wechat.biz.auth;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
/**
 * 网页授权Token
 *
 * @author <a href="mailto:jinya@zsydian.com">jinya</a>
 * @version 1.0 14-6-30 下午4:47
 */
public class JsToken implements Serializable
{
    //网页授权接口调用凭证,注意：此access_token与基础支持的access_token不同
    @JsonProperty ("errcode")
    private String errcode;
    @JsonProperty ("errmsg")
    private String errmsg;
    @JsonProperty ("ticket")
    private String ticket;
    @JsonProperty ("expires_in")
    private int expiresIn;

    public String getErrcode() {
        return errcode;
    }

    public void setErrcode(String errcode) {
        this.errcode = errcode;
    }

    public int getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(int expiresIn) {
        this.expiresIn = expiresIn;
    }

    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }
}
